package com.ruoyi.withdrawaltable.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 【提现列表】对象 withdrawal_table
 *
 * @author ruoyi
 * @date 2025-07-04
 */
@Data
@ApiModel(description = "提现列表对象")
public class WithdrawalTable extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "提现订单id", example = "提现订单id")
    private Long id;

    @ApiModelProperty(value = "订单id", example = "订单id")
    @Excel(name = "订单id")
    private String orderId;

    @ApiModelProperty(value = "用户id", example = "用户id")
    @Excel(name = "用户id")
    private String userId;

    @ApiModelProperty(value = "用户姓名", example = "用户姓名")
    @Excel(name = "用户姓名")
    private String name;

    @ApiModelProperty(value = "用户电话", example = "用户电话")
    @Excel(name = "用户电话")
    private String phone;

    @ApiModelProperty(value = "银行卡", example = "银行卡")
    @Excel(name = "银行卡")
    private String backCard;

    @ApiModelProperty(value = "提现金额", example = "提现金额")
    @Excel(name = "提现金额")
    private BigDecimal totalAmount;

    @ApiModelProperty(value = "提现时间", example = "2025-07-04")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "提现时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date withdrawalTime;

    @ApiModelProperty(value = "提现状态, 0-待审核, 1-已驳回, 2-打款中, 3-打款成功, 4-打款失败", example = "提现状态, 0-待审核, 1-已驳回, 2-打款中, 3-打款成功, 4-打款失败")
    @Excel(name = "提现状态, 0-待审核, 1-已驳回, 2-打款中, 3-打款成功, 4-打款失败")
    private String withdrawalStatus;

    @ApiModelProperty(value = "实际金额", example = "实际金额")
    private BigDecimal actualAmount;

    @ApiModelProperty(value = "手续费", example = "手续费")
    private BigDecimal commission;

}
